import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Home/Index'
import News from '@/components/News/NewsList'
import NewsDetail from '@/components/News/NewsDetail'

Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/111',
      name: 'Index',
      component: Index
    }, {
      path: '/',
      name: 'News',
      component: News
    }, {
      path: '/news/detail',
      name: 'NewsDetail',
      component: NewsDetail
    }
  ]
})
